package io_demo.teshu_io_demo;

import java.io.IOException;
import java.io.PrintStream;

/**
 * @author ChenYongHao
 * @date 2023/4/28 10:45
 * @desc 标准输出流
 */

public class PrintStream_demo {
    public static void main(String[] args) throws IOException {
        PrintStream ps = System.out;

        ps.println("Hello,World");
        ps.write("Hello,World".getBytes());

        ps.close();
    }
}
